-- GENERATED SPELL FOR [Mutinous Sea Dog] --


function spell0_25026(pUnit, Event) --@Rip,n/a--
pUnit:FullCastSpellOnTarget(33912,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25026', 15000, 1)
end

function Sorts_25026(pUnit, Event)
local choix_sorts_25026 = math.random(0, 0)
if choix_sorts_25026 == 0 then
pUnit:RegisterEvent('spell0_25026', 1, 1)
end
end

function mob25026_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25026', math.random(1500, 3000), 1)
end

function mob25026_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25026_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25026_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25026, 1, 'mob25026_Action')
RegisterUnitEvent(25026, 2, 'mob25026_Leave')
RegisterUnitEvent(25026, 3, 'mob25026_Kill')
RegisterUnitEvent(25026, 4, 'mob25026_Die')
